<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0，user-scalable=no,maximum-scale=1.0,minimum-scale=1.0">
    <link rel="stylesheet" href="css/normalize.css">
    <link rel="stylesheet" href="css/index.css">
    <title>京东移动端</title>
</head>
<body>
    <!-- 1. 最顶部广告 -->
    <header class="app">
        <ul>
            <!-- X号不给li做a链接，而是直接利用事件冒泡将header清除 -->
            <li>
                <img src="images/close.png" alt="">
            </li>
            <li>
                <img src="images/logo.png" alt="">
            </li>
            <li>打开京东App，购物更轻松</li>
            <li>立即打开</li>
        </ul>
    </header>

    <!-- 2. 头部导航搜索 -->
    <!-- 头部滑动到一定位置，背景颜色会发生变化 E43130-->
    <!-- 注意中间搜索部分缩放：左右两边利用绝对定位，不占位置，中间利用padding/margin撑开 -->
    <div class="nav-wrap">
        <div class="nav">
            <!-- 不选择插入盒子，而是添加before和after做背景图片 -->
        </div>
         <div class="search">
            <div class="jd-icon"></div>
            <div class="search-icon"></div>
            <!-- 点击input输入框实现页面跳转功能 -->
            <input type="text"  class="search-input" autocomplete="off" autofocus="false" placeholder="监控摄像头" maxlength="20">
         </div> 
        <div class="login">登录</div>
    </div>

    <!-- 3. 主体部分 -->
    <div class="main">
        <div class="hudu">
            <div class="slider">
                <a href="#">
                    <img src="upload/slider.jpg.dpg" alt="">
                </a>
            </div>
        </div>
        <!-- 滑动图 -->
        <!-- <div class="slider">
            <a href="#">
                <img src="upload/slider.jpg.dpg" alt="">
            </a>
        </div> -->

        <!-- 超市嗨购日 -->
        <!-- <div class="brand">
            <a href="#">
                <img src="upload/hgr.png.webp" alt="">
            </a>
        </div> -->
        <div class="brands">
            <div>
                <a href="#">
                    <img src="upload/pic11.dpg" alt="">
                </a>
            </div>
            <div>
                <a href="#">
                    <img src="upload/pic22.dpg" alt="">
                </a>

            </div>
            <div>
                <a href="#">
                    <img src="upload/pic33.dpg" alt="">
                </a>
            </div>
        </div>

        <!-- nav部分 -->
        <nav class="clearfix">
            <a href=""><img src="upload/nav1.webp" alt=""><span>京东超市</span></a>
            <a href=""><img src="upload/nav1.webp" alt=""><span>京东超市</span></a>
            <a href=""><img src="upload/nav1.webp" alt=""><span>京东超市</span></a>
            <a href=""><img src="upload/nav1.webp" alt=""><span>京东超市</span></a>
            <a href=""><img src="upload/nav1.webp" alt=""><span>京东超市</span></a>
            <a href=""><img src="upload/nav1.webp" alt=""><span>京东超市</span></a>
            <a href=""><img src="upload/nav1.webp" alt=""><span>京东超市</span></a>
            <a href=""><img src="upload/nav1.webp" alt=""><span>京东超市</span></a>
            <a href=""><img src="upload/nav1.webp" alt=""><span>京东超市</span></a>
            <a href=""><img src="upload/nav1.webp" alt=""><span>京东超市</span></a>
        </nav>

        <!-- 新闻模块 -->
        <div class="news clearfix">
            <a href="#">
                <img src="upload/new1.dpg" alt="">
            </a>
            <a href="#">
                <img src="upload/new2.dpg" alt="">
            </a>
            <a href="#">
                <img src="upload/new3.dpg" alt="">
            </a>
        </div>

    </div>
</body>
</html>